package com.woniu.service;

import com.woniu.entity.User;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

public interface UserService {
    List<User> findAll();

    User findUserByUsername(String username);
    int updateOne(User user);
}
